POV-Ray : Newsgroups : povray.beta-test : Pigment_pattern bug. : Pigment_pattern bug. Server Time
30 Jul 2024 22:28:10 EDT (-0400)
  Pigment_pattern bug.  
From: Batronyx
Date: 26 Sep 2001 01:51:05
Message: <3bb16cc9$1@news.povray.org>
I believe my previous post on this was inadvertently chalked-up to user error:
PII 266 96MB Win98SE POV3.5b4

When using bozo or wood as the pattern type, the results are a severely stepped,
rather than smooth, gradient between textures. Substituting any other
non-blocked pattern type produces the expected behavior though. I've included a
much more simplified scene below.

Also, compared to an ordinary bozo pigment with comparable color_map and scaling
parameters, it appears the map is inverted, but this just may be a side-effect
of the original bug.

//---START SCENE
#version 3.5;
#include "colors.inc"
global_settings {
  assumed_gamma 1.0
  noise_generator 3
}
 background {color MediumBlue}

camera {
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}


light_source {
  <0, 0, 0>
  color rgb <1, 1, 1>
  translate <-30, 30, -30>
}


sphere {  0.0, 1
  texture{ pigment_pattern { bozo scale 0.15 }
              texture_map {
                  [0 pigment {color Gray80 } ]
                  [1 pigment {color Gray10 } ]
              }
          }
  rotate y*45

}
//---END SCENE


--
Batronyx ^"^
bat### [at] cadronhsacom
http://www.batronyx.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.